home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / gadgets / fuelgauge.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-19  |  2.4 KB  |  89 lines

  1. #ifndef GADGETS_FUELGAUGE_H
  2. #define GADGETS_FUELGAUGE_H
  3. /*
  4. **    $VER: fuelgauge.h 44.1 (19.10.1999)
  5. **    Includes Release 44.1
  6. **
  7. **  Definitions for the fuelgauge.gadget BOOPSI class
  8. **
  9. **
  10. **    (C) Copyright 1987-1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. /*****************************************************************************/
  15.  
  16. #ifndef REACTION_REACTION_H
  17. #include <reaction/reaction.h>
  18. #endif
  19.  
  20. #ifndef INTUITION_GADGETCLASS_H
  21. #include <intuition/gadgetclass.h>
  22. #endif
  23.  
  24. /*****************************************************************************/
  25.  
  26. #define FUELGAUGE_Dummy            (REACTION_Dummy + 0x12000)
  27.  
  28. #define FUELGAUGE_Min            (FUELGAUGE_Dummy + 1)
  29.     /* (LONG) fuelgauge minimum value. */
  30.  
  31. #define FUELGAUGE_Max            (FUELGAUGE_Dummy + 2)
  32.     /* (LONG) fuelgauge maximum value. */
  33.  
  34. #define FUELGAUGE_Level            (FUELGAUGE_Dummy + 3)
  35.     /* (LONG) fuelgauge level (value between min and max). */
  36.  
  37. #define FUELGAUGE_Orientation    (FUELGAUGE_Dummy + 4)
  38.     /* (WORD) orientation mode. */
  39.  
  40. #define FUELGAUGE_Percent        (FUELGAUGE_Dummy + 5)
  41.     /* (BOOL) render numeric percentage display. */
  42.  
  43. #define FUELGAUGE_Ticks            (FUELGAUGE_Dummy + 6)
  44.     /* (WORD) enable tick marks if number of ticks set is not 0. */
  45.  
  46. #define FUELGAUGE_ShortTicks    (FUELGAUGE_Dummy + 7)
  47.     /* (WORD) enable small intermediate tick marks. */
  48.  
  49. #define FUELGAUGE_TickSize        (FUELGAUGE_Dummy + 8)
  50.     /* (WORD) height of  large tick makrs. */
  51.  
  52. #define FUELGAUGE_TickPen        (FUELGAUGE_Dummy + 9)
  53.     /* (WORD) tickmark pen. */
  54.  
  55. #define FUELGAUGE_PercentPen    (FUELGAUGE_Dummy + 10)
  56.     /* (WORD) pen number to use for inner gauge percange rendering. */
  57.  
  58. #define FUELGAUGE_FillPen        (FUELGAUGE_Dummy + 11)
  59.     /* (WORD) pen number to use for the fuelbar. */
  60.  
  61. #define FUELGAUGE_EmptyPen        (FUELGAUGE_Dummy + 12)
  62.     /* (WORD) fuelgauge background/empty pen number. */
  63.  
  64. #define FUELGAUGE_VarArgs        (FUELGAUGE_Dummy + 13)
  65.     /* argument array for GA_Text varargs string */
  66.  
  67. #define FUELGAUGE_Justification    (FUELGAUGE_Dummy + 14)
  68.     /* GA_Text justification mode */
  69.  
  70. /*****************************************************************************/
  71.  
  72. /* FUELGAUGE_Orientation modes
  73.  */
  74. #define FGORIENT_HORIZ 0
  75. #define FGORIENT_VERT 1
  76.  
  77. /* FUELGAUGE_Justification modes
  78.  */
  79. #define FGJ_LEFT    0    // default
  80. #define FGJ_CENTER    1
  81. #define FGJ_CENTRE FGJ_CENTER    // english/canadian spellings
  82.  
  83. /* Obsolete, DO NOT USE!
  84.  */
  85. #define FUELGAUGE_HORIZONTAL FGORIENT_HORIZ
  86. #define FUELGAUGE_VERTICAL FGORIENT_VERT
  87.  
  88. #endif /* GADGETS_FUELGAUGE_H */
  89.